Skip to content

Conversation

quic-vikramsa
Copy link

Add camera driver and bindings changes for qcom-next

quic-vikramsa and others added 9 commits September 26, 2025 17:36
…n3.c

Rename the file camss-csid-780.c to camss-csid-gen3.c to enable
reuse of CSID logic across multiple SoCs.

The lemans(sa8775p) SoC includes CSID 690, which is functionally very
similar to CSID 780, with only minor differences in register
bitfields. This rename prepares the codebase for supporting
additional SoCs without duplicating CSID logic.

Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: 0d6d5f49e0fc8ff23564e0f1f383b3334331ba61
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/
Rename the file camss-vfe-780.c to camss-vfe-gen3.c to enable
reuse of VFE logic across multiple SoCs.

The lemans(sa8775p) SoC includes VFE 690, which is very similar
to VFE 780, with only minor differences in register bitfields.
Rename prepares the codebase for supporting additional SoCs
without duplicating VFE logic.

Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: a3dce6e3c85fce34dd7a5a29cbe0dc9550c3d585
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add the compatible string "qcom,sa8775p-camss" to support the
Camera Subsystem (CAMSS) on the Qualcomm lemans platform.

The Lemans(SA8775P) platform provides:
- 2 x VFE (version 690), each with 3 RDI
- 5 x VFE Lite (version 690), each with 6 RDI
- 2 x CSID (version 690)
- 5 x CSID Lite (version 690)
- 4 x CSIPHY (version 690)
- 3 x TPG

Lemans is the first Qualcomm SoC to introduce a CSIPHY-based
Test Pattern Generator (TPG).

Co-developed-by: Wenmeng Liu <[email protected]>
Signed-off-by: Wenmeng Liu <[email protected]>
Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: 8dd22e90331d64bd15adc598a8d41fee2ccf93da
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add CAMSS_8775P enum, compatible and lemans(sa8775p) camss driver
private data, the private data just include some basic information
now, later changes will enumerate with csiphy, tpg, csid and vfe
resources.

Co-developed-by: Suresh Vankadara <[email protected]>
Signed-off-by: Suresh Vankadara <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Vikram Sharma <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: 5f4ba689e7f329c163cda66d874177da300ad64c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add support for CSIPHY (v1.3.0) found on lemans(sa8775p). This
implementation is based on the titan 690 implementation.

Co-developed-by: Wenmeng Liu <[email protected]>
Signed-off-by: Wenmeng Liu <[email protected]>
Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: 7803b63a1640a0a39e3ebad487b33cb2d26e778b
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add support for CSID 690 found on lemans(sa8775p) soc, This
is different from csid 780 w.r.t few register offsets and
bit-fields.

Signed-off-by: Suresh Vankadara <[email protected]>
Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: ed03e99de0fa7999fcef432aa35b9052d1fed9f1
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add support for VFE 690 found on lemans(SA8775P). This is
different from vfe 780 w.r.t few register offsets. It
supports two full and five lite VFE.

Co-developed-by: Suresh Vankadara <[email protected]>
Signed-off-by: Suresh Vankadara <[email protected]>
Co-developed-by: Wenmeng Liu <[email protected]>
Signed-off-by: Wenmeng Liu <[email protected]>
Signed-off-by: Vikram Sharma <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: e7b59e1d06fb6c3b9c0dc08d4479756654de711e
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Enumerate csiphy, csid and vfe resources for lemans soc.

Signed-off-by: Vikram Sharma <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: b478527cce8a166be73d9eda62c759aaa030a77e
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Add the sa8775p CCI device string compatible.

Acked-by: Rob Herring (Arm) <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Wenmeng Liu <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Git-commit: c62859e13712334bd17d46ee0c1b26e8673d2961
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
@shashim-quic
Copy link
Collaborator

Minor note: Adding 'Link:' tag in commit log is enough for QLI mainline and 'Git-commit:' / 'Git-repo:' are not required.
This way it doesn't add any overhead in maintaining patches that are meant for upstream and mainline.
(Link: is acceptable tag upstream)

@shashim-quic
Copy link
Collaborator

Minor note: Adding 'Link:' tag in commit log is enough for QLI mainline and 'Git-commit:' / 'Git-repo:' are not required. This way it doesn't add any overhead in maintaining patches that are meant for upstream and mainline. (Link: is acceptable tag upstream)

Also please raise PR on right destination branch , which is tech/mm/camss in this case.

@quic-vikramsa quic-vikramsa changed the base branch from main to tech/mm/camss October 10, 2025 09:59
@quic-vikramsa quic-vikramsa changed the title SOC changes for Lemans RB8 Enablement on qcom-next SOC changes for Lemans evk Enablement on qcom-next Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants